{$layout "layout_popup"}

<h3>修改IP地址</h3>

<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
	<input type="hidden" name="addressId" :value="address.id"/>
	<table class="ui table definition selectable">
		<tr>
			<td>IP地址 *</td>
			<td>
				<input type="text" name="ip" maxlength="128" ref="focus" v-model="address.ip"/>
			</td>
		</tr>
		<tr>
			<td>是否可以访问</td>
			<td>
				<div class="ui checkbox">
					<input type="checkbox" name="canAccess" value="1" v-model="address.canAccess"/>
					<label></label>
				</div>
				<p class="comment">是否为可以公开访问的IP，如果选中，也会作为DNS解析记录的值使用。</p>
			</td>
		</tr>
		<tr>
			<td class="title">备注</td>
			<td>
				<input type="text" name="name" maxlength="50" v-model="address.name"/>
			</td>
		</tr>
	</table>
	<submit-btn></submit-btn>
</form>